package com.oozol.lieluyun.entity;

public class JenkinsLoginRes {
   private JenkinsLoginResHeaders headers;
   private String statuscode;
   private int statuscodevalue;

   public JenkinsLoginResHeaders getHeaders() {
      return this.headers;
   }

   public String getStatuscode() {
      return this.statuscode;
   }

   public int getStatuscodevalue() {
      return this.statuscodevalue;
   }

   public void setHeaders(final JenkinsLoginResHeaders headers) {
      this.headers = headers;
   }

   public void setStatuscode(final String statuscode) {
      this.statuscode = statuscode;
   }

   public void setStatuscodevalue(final int statuscodevalue) {
      this.statuscodevalue = statuscodevalue;
   }

   public boolean equals(final Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof JenkinsLoginRes)) {
         return false;
      } else {
         JenkinsLoginRes other = (JenkinsLoginRes)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$headers = this.getHeaders();
            Object other$headers = other.getHeaders();
            if (this$headers == null) {
               if (other$headers != null) {
                  return false;
               }
            } else if (!this$headers.equals(other$headers)) {
               return false;
            }

            Object this$statuscode = this.getStatuscode();
            Object other$statuscode = other.getStatuscode();
            if (this$statuscode == null) {
               if (other$statuscode != null) {
                  return false;
               }
            } else if (!this$statuscode.equals(other$statuscode)) {
               return false;
            }

            if (this.getStatuscodevalue() != other.getStatuscodevalue()) {
               return false;
            } else {
               return true;
            }
         }
      }
   }

   protected boolean canEqual(final Object other) {
      return other instanceof JenkinsLoginRes;
   }

   public int hashCode() {
      int PRIME = 59;
      int result = 1;
      Object $headers = this.getHeaders();
      result = result * 59 + ($headers == null ? 43 : $headers.hashCode());
      Object $statuscode = this.getStatuscode();
      result = result * 59 + ($statuscode == null ? 43 : $statuscode.hashCode());
      result = result * 59 + this.getStatuscodevalue();
      return result;
   }

   public String toString() {
      return "JenkinsLoginRes(headers=" + this.getHeaders() + ", statuscode=" + this.getStatuscode() + ", statuscodevalue=" + this.getStatuscodevalue() + ")";
   }
}
